<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html >
<html>
 <head>
<t:base type="jquery,easyui,tools"></t:base>
<script type="text/javascript">
        function uploadCallback(callback,inputId,inputName){
        	var a='';
            var ids = [];
            var filepath;
            var name;
        	$("#okpaththelist").find("input[name='okpath']").each(function(){
                ids.push("systemController/showOrDownByurl.do?down=1&dbPath="+$(this).val());
        		// a+=$(this).val()+",";
                filepath = $(this).val();
                name =  filepath.substring(filepath.lastIndexOf('\\')+1)
                // alert(name);
        	});
        	a= ids.join(',')
            var url = a;

            // alert(url);
            // alert(name);
            // var swfpath = $("#swfpath").val();
            callback(url,name,inputId,inputName);
            // return a;
        }
</script>
</head>
 <body>
 	<t:webUploader fileSingleSizeLimit="9242880" auto="true" name="okpath" buttonStyle="div" fileNumLimit="1" url="systemController/filedeal.do"></t:webUploader>
 	<div id="tempdiv"></div>
 </body>
 </html>
